Carbon


GetThemeScrollBarThumbStyle

Header: Appearance.h Carbon status: Supported

Obtains the system preference for the type of scroll box to be used.

OSStatus GetThemeScrollBarThumbStyle (
    ThemeScrollBarThumbStyle *outStyle
);
outStyle

A pointer to a value of type ThemeScrollBarThumbStyle. On return, the value specifies the type of scroll box being used. See “Theme Scroll Box Style Constants” for descriptions of possible values.

function result

A result code.

DISCUSSION

Because the user can specify either proportional or fixed-size scroll boxes (also known as “scroll indicators” or “thumbs”) on a theme-specific basis, your application should call GetThemeScrollBarThumbStyle to obtain the preferred style under the current theme.

VERSION NOTES

This function is available with Appearance Manager 1.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)